package com.sne.sys.entity;

import java.time.LocalDateTime;

import com.sne.common.entity.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 文件管理
 * </p>
 *
 * @author fanghh
 * @since 2020-01-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "SysFile对象", description = "文件管理")
public class SysFile extends BaseModel<SysFile> {

    @ApiModelProperty(value = "文件名")
    private String fileName;

    @ApiModelProperty(value = "原文件名")
    private String originalName;

    @ApiModelProperty(value = "文件类型")
    private String fileType;

    @ApiModelProperty(value = "文件大小")
    private Integer fileSize;

    @ApiModelProperty(value = "上传人")
    private String createUserName;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "空间")
    private String fileSpace;

    @ApiModelProperty(value = "是否删除")
    private Boolean deleted;

}
